Repository navigation
Add a by-hand real-model release check for Linux, Windows and macOS - #7
Merged
Merged
Conversation
packaging/release_check/release_check.py installs nc-codewiki from PyPI or a local wheel into a fresh venv, sets config from a key = value file (in an isolated home, so the real ~/.codewiki and keyring are untouched), validates it, generates docs at main~10, updates them at main, and asks questions through the MCP server and the CLI. Logs, zipped docs and a PASS/FAIL summary land in one folder per run. Stdlib only; not run by CI (pytest collects tests/ only). If uv rejects the install it records the failure and retries with pip: on Python 3.14, uv refuses pythonmonkey 1.4.1 (pulled in by mermaid-parser-py) because its wheel has no Wheel-Version. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01NPESxdUcusPErYqA1Jzn9J
The previous commit blamed pythonmonkey 1.4.1's wheel. Its WHEEL file is valid and `uv pip install --no-cache` installs it; the failure came from a bad entry in the local uv cache (`uv cache clean pythonmonkey` fixes it). The pip fallback stays as a safety net; only its comment changes. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01NPESxdUcusPErYqA1Jzn9J
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
mise ~/.config/mise/config.toml tools: gh@2.101.0
Adds
packaging/release_check/release_check.py, a stdlib-only script you run by hand once per OS (Linux, Windows, macOS) with a real API key, before or after publishing to PyPI. CI doesn't run it: pytest only collectstests/.It does the following:
uv.nc-codewikifrom PyPI (--package) or from a local wheel file or folder (--wheel); with neither flag it asks which one.key = valuefile, written to an isolated home folder so the real~/.codewikiconfig and keyring are never touched, then runsconfig validate.generate --verbose --github-pagesatmain~10.generate --updateatmain.codewiki_status,codewiki_searchandcodewiki_askthrough the MCP server, and runscodewiki askfrom the CLI.logs.txt,docs.zip,update-logs.txt,docs-updated.zip,mcp-logs.txtandsummary.txtinto one output folder per run.If the
uvinstall fails, the script records the failure and retries withpip, so the rest of the check still runs. While testing, this happened because of a corruptuvcache entry forpythonmonkeyon the dev machine. The package itself is fine:uv pip install --no-cacheinstalls it, anduv cache clean pythonmonkeyclears the bad entry.Tested locally on Linux:
--versionandconfig set;validatefails and the script stops when the URL is bad;docs/folder.The full generate and update run with a real key has not been done yet.
🤖 Generated with Claude Code
https://claude.ai/code/session_01NPESxdUcusPErYqA1Jzn9J